package com.syh.jn.scm.service.api.supplier.stock;

import cn.redscarf.commons.wrapper.Wrapper;
import com.syh.jn.scm.dto.supplier.stock.*;
import com.syh.jn.scm.service.core.BaseService;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface StockGoodsService extends BaseService<Object, Object, StockGoodsVo, Long> {
  /**
   * 纠正库存平均成本
   */
  void recalculationStockGoodsAverageCost();

  Map<String, Object> statisticalAmount(Wrapper we);

  Map<String, Object> statisticalGoodsType(Wrapper we);

  /**
   * 期初设置
   */
  void beginningSetUp(StockBeginGoodsSto sto);

  /**
   * 批量设置期初库存
   */
  void batchBeginningSetUp(List<StockBeginGoodsSto> stos);
}
